package com.tech.cloudapp.db.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.tech.cloudapp.db.entity.QuestionUserAnswer;
import com.tech.cloudapp.db.mapper.QuestionUserAnswerMapper;
import com.tech.cloudapp.db.service.QuestionUserAnswerService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 用户答题记录表 服务实现类
 * </p>
 *
 * @author mojianyou
 * @since 2025-03-23
 */
@Service
public class QuestionUserAnswerServiceImpl extends ServiceImpl<QuestionUserAnswerMapper, QuestionUserAnswer> implements QuestionUserAnswerService {

    @Override
    public void replayAnswer(QueryWrapper<QuestionUserAnswer> queryWrapper) {
        baseMapper.delete(queryWrapper);
    }
}
